CPP=g++
CC=gcc
CPPFLAGS=-Wall

SRC=$(wildcard *.cpp)
OBJ=$(patsubst %.cpp, %, $(SRC))

.PHONY:all clean

all: $(OBJ)

%:%.cpp
	$(CPP) $<  $(CPPFLAGS) -o $@ $(CPPLINKS)

run: all
	./jit_demo_add

.PHONY: vim clean

vim:
	ctags -R
	cscope -Rbkq

clean:
	rm -rf $(OBJ)
